<?php member_action::hread();?>
<style>
.w950{width:800px;}
.user_list{overflow:hidden;border:1px #ccc solid;padding:3px;float:left;background:#fff;margin:5px;}
.user_list div{float:left;}
.user_list .face{margin:5px;}
</style>
<script>
$(function(){
	$(".status").hover(function(){
		$(this).children('td').children('div').css('height','auto')
	},function(){
		$(this).children('td').children('div').css('height','25px')
	})
	
	$(".look").click(function(){
		var href = $(this).attr('href');
		var text = $(this).parent().parent().next();
		var text2 = $(this).parent().parent().next().children('td');
		$(text).show();
		$.get(href,function(data){
			$(text2).html(data);
		})
		
		return false;
	})
})
</script>
<div class="global_title" style="margin-top:30px;"><span>定时微博</span></div>
<div class="table_list">
	<div class="table-list">
	<table width="100%" cellspacing="0" >
		<thead>
			<tr>
				<th width="30">序号</th>
				<th width="450">微博内容</th>
				<th>执行时间</th>
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
		<?php foreach ($list as $val){?>
			<tr class="status">
				<td><?php echo $val['id'];?></td>
				<td style="text-align:left;">
					<div style="height:25px;overflow:hidden">
					<?php echo $val['status'];?>
					<?php if (!empty($val['pic'])){?>
					<a href="<?php echo $val['pic'];?>" class="thickbox">
						<img src="/zhuayi/member/template/images/small_img.gif"/>
					</a>
					<?php }?>
					</div>
				</td>
				<td><?php echo $val['rantime'];?></td>
				<td>
					<a href="/timing/look/weibo/<?php echo $val['id'];?>" class="look">查看状态</div>
				</td>
			</tr>
			<tr style="display:none;">
				<td colspan="4"><center><img src="/statics/images/loading.gif"/></center></td>
			</tr>
		<?php }?>
		</tbody>
		
	</table>
		<div class="btn">
			<div class="page"><?php echo $page->show();?></div>
		</div>
	</div>
</div>
<?php member_action::foot();?>


